package com.baidu.infinity.ui.util

enum class OperationType(val index:Int) {
    DRAW_MENU(12),
    DRAW_MOVE(0),
    DRAW_LINE_ARROW(1),
    DRAW_ERASER(2),
    DRAW_CIRCLE(3),
    DRAW_RECTANGLE(4),
    DRAW_TRIANGLE(5),
    DRAW_TEXT(6),
    DRAW_LINE(7),
    DRAW_BEZEL(8),
    DRAW_LOCATION(9),
    DRAW_CURVE(10),
    DRAW_BRUSH(11),

    MENU_WORKS(0),
    MENU_DOWNLOAD(1),
    MENU_SHARE(2),
    MENU_PICTURE(3),
    MENU_ACCOUNT(4),
    MENU_LAYER(5),

    OPERATION_UNDO(0),
    OPERATION_DELETE(1),
    OPERATION_PENCIL(2),
    OPERATION_PALETTE(3),

    NONE(-1)
}